﻿using SqlSugar;

namespace Blog.Models.Entitys
{
    /// <summary>
    /// 文章类型
    /// </summary>
    [SugarTable(TableDescription = "文章类型")]
    public class BlogArticleType : BaseEntity
    {
        [SugarColumn(ColumnDescription = "文章类型名称", Length = 50)]
        public string? Name { get; set; }

        [SugarColumn(ColumnDescription = "文章类型状态 1:可用 2:弃用")]
        public int? State { get; set; }

        [SugarColumn(ColumnDescription = "修改人", Length = 50)]
        public string? UpdateName { get; set; }

        [SugarColumn(ColumnDescription = "修改时间")]
        public DateTime? UpdateTime { get; set; } = DateTime.Now;
    }
}
